package org.ligson.springbootrestdao.listener;

import lombok.extern.slf4j.Slf4j;
import org.ligson.springbootrestdao.event.EntityModifyEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserModifyListener implements ApplicationListener<EntityModifyEvent> {
    @Override
    public void onApplicationEvent(EntityModifyEvent event) {
        log.debug("exec event:{}", event);
    }
}
